﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    String Controller = ViewContext.RouteData.Values["controller"].ToString().ToLower();
    String Action = ViewContext.RouteData.Values["action"].ToString().ToLower();
    
    DrugStore.Models.DrugBussiness objBussiness = new DrugStore.Models.DrugBussiness();
    List<DrugStore.Models.DiseaseCategory> diseasesCategories = objBussiness.GetAllDiseaseCategories();
 %>
 <div>
    <ul style="list-style:none">
        <%foreach (DrugStore.Models.DiseaseCategory disease in diseasesCategories) 
          {
          %>
          <li><a class="black" href="#"><%:disease.DieaseName%></a></li>
          <%
          } %>
    </ul>
 </div>